package com.ipet.app.common;

import android.app.Application;
import android.content.Context;

/**
 * Created by jindongping on 16/3/8.
 */
public class App extends Application {

    private static Context mApplicationContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mApplicationContext = getApplicationContext();
        AppConfig.init(mApplicationContext);
    }

    public static Context getContext() {
        return mApplicationContext;
    }

}
